<div class="clr1"></div>
<div class="fotter">
    <div class="fotter1">
        <div class="fotter2">
            <h4>关于公主恋</h4> <h4>合作伙伴</h4><h4> 营销中心</h4><h4>联系客服</h4><h4>诚征英才</h4><h4> 联系我们</h4><h4> 法律声明</h4>                     </div>
        <div class="clr"></div>
        <div class="xian"></div>
        <div class="clr"></div>
        <div class="fotter2">2012-2013 公主恋 版权所有，并保留所有权利。  ICP备案证书号:辽ICP备12008461号 </div>
    </div>
</div>
<div id="bg"></div>
<div id="logbox">
    <div class="logtopbox">
        <div class="Llogtopbox">您好，请登录！</div>
        <div id="close" onclick="closelogin();"><a href="javascript:void(0)">X</a></div>
    </div>
    <div class="clr"></div>
    <div class="logbottbox">
        <form action="<?php echo base_url();?>login/login" method="post">
            <table border="0">
                <tr><td align="right">用户名/邮箱：</td><td><input type="text" name="name"></td></tr>
                <tr><td align="right">密码：</td><td><input type="password" name="password"><font color="#33CCCC">忘了密码?</font></td></tr>
                <tr><td>&nbsp;</td><td><input type="submit" value="登 陆" name="sub" id="butt"></td></tr>
                <tr><td>&nbsp;</td><td><span class="color11">注册用时不会超过24秒！</span></td></tr>
                <tr><td align="right" valign="top"><a href="<?php echo front_url('login/register');?>">立即注册</a></td><td valign="bottom"><img src="<?php echo base_url();?>images/publick/qqlogin.jpg"  /><img src="<?php echo base_url();?>images/publick/sina.jpg"></td></tr>
            </table>
        </form>
    </div>
</div>

<script type="text/javascript">
    function openlogin(){
        var bheight=$("body").height();
        $("#bg").css("height",bheight);
        document.getElementById("bg").style.display="block";
        document.getElementById("logbox").style.display="block";
    }
    function closelogin(){
        document.getElementById("bg").style.display="none";
        document.getElementById("logbox").style.display="none";
    }

</script>
<script>
    $(document).ready(function() {
        //vendor script
        $('#container').BlocksIt({
            numOfCol: 5,
            offsetX: 8,
            offsetY: 8
        });

        console.log($('#container').height());
    });
</script>
</body>
</html>